#ifndef AVATARSELECTOR_H
#define AVATARSELECTOR_H

#include <QWidget>

namespace Ui {
class AvatarSelector;
}

class AvatarSelector : public QWidget
{
    Q_OBJECT

public:
    explicit AvatarSelector(QWidget *parent = nullptr);
    ~AvatarSelector();


    QString getAvatarPath(int index);

signals:
    void updateAvatar(int avatar);

private slots:
    void on_comboBoxAvatar_currentIndexChanged(int index);

    void on_btnAccept_clicked();

    void on_btnCancel_clicked();

private:
    Ui::AvatarSelector *ui;

    int _avatar = 1;
};

#endif // AVATARSELECTOR_H
